home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13516 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: druid.borland.com!usenet
  2. From: Conrad Herrmann <cherrmann@wpo.borland.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Does Borland share these MSVC++ problems?
  5. Date: Mon, 25 Mar 1996 11:33:19 -0800
  6. Organization: Borland International
  7. Message-ID: <3156F4FF.6EA5@wpo.borland.com>
  8. References: <4j2m6q$lg6@cnn.Princeton.EDU> <4j3udc$m6t@news1.h1.usa.pipeline.com> <3155CA30.11CC@airmail.net>
  9. NNTP-Posting-Host: walden.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
  14.  
  15. Mark Nelson wrote:
  16. > >
  17. > > >1. Do index variables declared in the for statement persist after the
  18. > > loop?
  19. > > >
  20. > > Yes, but this is subject to change in future releases as the new
  21. > > ANSI/ISO standard is implemented by the compiler developers.
  22. > > I have not yet received BC++5.0 (I got the books but no compiler) so
  23. > > I can not say how index vars are handled in that version.
  24. > Borland C++ 5.0 limits the scope to the loop, as the standard dictates.
  25. > (Breaking code right and left, but it's not their fault!)
  26. > Mark,
  27. There is a switch to turn this off, if you want.  For example, 
  28. you have to use this switch to compile MFC....
  29.  
  30. -- Conrad Herrmann
  31. (Borland C++)
  32.